home *** CD-ROM | disk | FTP | other *** search
/ Interactive Web Graphics with Shout 3D / Interactive Web Graphics With Shout 3D.iso / mac / Code / Chapter08 / rotatemovenull.S3D < prev    next >
Text File  |  2000-07-03  |  10KB  |  423 lines

  1. Background {
  2.     color 0.8353 1 0.9569
  3. }
  4. DEF groundplane Transform {
  5.     translation 0 0 0
  6.     children [
  7.         Shape {
  8.             appearance [
  9.                 MultiAppearance {
  10.                     material Material {
  11.                         diffuseColor 0.6667 0.9412 0.1922
  12.                         specularColor 0.045 0.045 0.045
  13.                         shininess 0.25
  14.                         transparency 0
  15.                     }
  16.                 }
  17.             ]
  18.             geometry MultiMesh {
  19.                 defaultFlatShaded FALSE
  20.                 coord DEF groundplane-COORD Coordinate {
  21.                     point [
  22.                         231 0 -231 -231 0 -231 -231 0 231 231 0 231
  23.                     ]
  24.                 }
  25.                 coordIndex [
  26.                     2 3 0 -1 1 2 0 -1
  27.                 ]
  28.                 textureMappings [
  29.                 ]
  30.             }
  31.         }
  32.     ]
  33. }
  34. DEF FDirect01-LIGHT DirectionalLight {
  35.     affectedGroups "#Root"
  36.     intensity 1
  37.     color 1 1 1
  38.     direction 0 -0.9239 -0.3827
  39.     on TRUE
  40. }
  41. DEF Box01 Transform {
  42.     translation -149.3 0 160.6
  43.     children [
  44.         Shape {
  45.             appearance [
  46.                 MultiAppearance {
  47.                     material Material {
  48.                         diffuseColor 0.1922 0.6078 0.4471
  49.                         specularColor 0.045 0.045 0.045
  50.                         shininess 0.25
  51.                         transparency 0
  52.                     }
  53.                 }
  54.             ]
  55.             geometry MultiMesh {
  56.                 coord DEF Box01-COORD Coordinate {
  57.                     point [
  58.                         -13.53 0 10.94 13.53 0 10.94 -13.53 0 -10.94 13.53 0 -10.94 -13.53 24.76 10.94 13.53 24.76 10.94
  59.                         -13.53 24.76 -10.94 13.53 24.76 -10.94
  60.                     ]
  61.                 }
  62.                 coordIndex [
  63.                     0 2 3 -1 3 1 0 -1 4 5 7 -1 7 6 4 -1 0 1 5 -1 5 4 0 -1 1 3 7 -1 7 5 1 -1 3 2 6 -1 6 7 3 -1
  64.                     2 0 4 -1 4 6 2 -1
  65.                 ]
  66.                 smoothingIndex [
  67.                     2 -1 2 -1 3 -1 3 -1 4 -1 4 -1 5 -1 5 -1 6 -1 6 -1 7 -1 7 -1
  68.                 ]
  69.                 appearanceIndex [
  70.                     1 1 0 0 4 4 3 3 5 5 2 2
  71.                 ]
  72.                 textureMappings [
  73.                 ]
  74.             }
  75.         }
  76.     ]
  77. }
  78. DEF Box02 Transform {
  79.     translation -149.3 0 86.84
  80.     children [
  81.         Shape {
  82.             appearance [
  83.                 MultiAppearance {
  84.                     material Material {
  85.                         diffuseColor 0.3882 0.5294 0.1922
  86.                         specularColor 0.045 0.045 0.045
  87.                         shininess 0.25
  88.                         transparency 0
  89.                     }
  90.                 }
  91.             ]
  92.             geometry MultiMesh {
  93.                 coord DEF Box02-COORD Coordinate {
  94.                     point [
  95.                         -13.53 0 10.94 13.53 0 10.94 -13.53 0 -10.94 13.53 0 -10.94 -13.53 24.76 10.94 13.53 24.76 10.94
  96.                         -13.53 24.76 -10.94 13.53 24.76 -10.94
  97.                     ]
  98.                 }
  99.                 coordIndex [
  100.                     0 2 3 -1 3 1 0 -1 4 5 7 -1 7 6 4 -1 0 1 5 -1 5 4 0 -1 1 3 7 -1 7 5 1 -1 3 2 6 -1 6 7 3 -1
  101.                     2 0 4 -1 4 6 2 -1
  102.                 ]
  103.                 smoothingIndex [
  104.                     2 -1 2 -1 3 -1 3 -1 4 -1 4 -1 5 -1 5 -1 6 -1 6 -1 7 -1 7 -1
  105.                 ]
  106.                 appearanceIndex [
  107.                     1 1 0 0 4 4 3 3 5 5 2 2
  108.                 ]
  109.                 textureMappings [
  110.                 ]
  111.             }
  112.         }
  113.     ]
  114. }
  115. DEF Box03 Transform {
  116.     translation -149.3 0 -2.386
  117.     children [
  118.         Shape {
  119.             appearance [
  120.                 MultiAppearance {
  121.                     material Material {
  122.                         diffuseColor 0.1922 0.6078 0.4471
  123.                         specularColor 0.045 0.045 0.045
  124.                         shininess 0.25
  125.                         transparency 0
  126.                     }
  127.                 }
  128.             ]
  129.             geometry MultiMesh {
  130.                 coord DEF Box03-COORD Coordinate {
  131.                     point [
  132.                         -13.53 0 10.94 13.53 0 10.94 -13.53 0 -10.94 13.53 0 -10.94 -13.53 24.76 10.94 13.53 24.76 10.94
  133.                         -13.53 24.76 -10.94 13.53 24.76 -10.94
  134.                     ]
  135.                 }
  136.                 coordIndex [
  137.                     0 2 3 -1 3 1 0 -1 4 5 7 -1 7 6 4 -1 0 1 5 -1 5 4 0 -1 1 3 7 -1 7 5 1 -1 3 2 6 -1 6 7 3 -1
  138.                     2 0 4 -1 4 6 2 -1
  139.                 ]
  140.                 smoothingIndex [
  141.                     2 -1 2 -1 3 -1 3 -1 4 -1 4 -1 5 -1 5 -1 6 -1 6 -1 7 -1 7 -1
  142.                 ]
  143.                 appearanceIndex [
  144.                     1 1 0 0 4 4 3 3 5 5 2 2
  145.                 ]
  146.                 textureMappings [
  147.                 ]
  148.             }
  149.         }
  150.     ]
  151. }
  152. DEF Box04 Transform {
  153.     translation -149.3 0 -83.91
  154.     children [
  155.         Shape {
  156.             appearance [
  157.                 MultiAppearance {
  158.                     material Material {
  159.                         diffuseColor 0.3882 0.5294 0.1922
  160.                         specularColor 0.045 0.045 0.045
  161.                         shininess 0.25
  162.                         transparency 0
  163.                     }
  164.                 }
  165.             ]
  166.             geometry MultiMesh {
  167.                 coord DEF Box04-COORD Coordinate {
  168.                     point [
  169.                         -13.53 0 10.94 13.53 0 10.94 -13.53 0 -10.94 13.53 0 -10.94 -13.53 24.76 10.94 13.53 24.76 10.94
  170.                         -13.53 24.76 -10.94 13.53 24.76 -10.94
  171.                     ]
  172.                 }
  173.                 coordIndex [
  174.                     0 2 3 -1 3 1 0 -1 4 5 7 -1 7 6 4 -1 0 1 5 -1 5 4 0 -1 1 3 7 -1 7 5 1 -1 3 2 6 -1 6 7 3 -1
  175.                     2 0 4 -1 4 6 2 -1
  176.                 ]
  177.                 smoothingIndex [
  178.                     2 -1 2 -1 3 -1 3 -1 4 -1 4 -1 5 -1 5 -1 6 -1 6 -1 7 -1 7 -1
  179.                 ]
  180.                 appearanceIndex [
  181.                     1 1 0 0 4 4 3 3 5 5 2 2
  182.                 ]
  183.                 textureMappings [
  184.                 ]
  185.             }
  186.         }
  187.     ]
  188. }
  189. DEF Box05 Transform {
  190.     translation -149.3 0 -160.7
  191.     children [
  192.         Shape {
  193.             appearance [
  194.                 MultiAppearance {
  195.                     material Material {
  196.                         diffuseColor 0.1922 0.6078 0.4471
  197.                         specularColor 0.045 0.045 0.045
  198.                         shininess 0.25
  199.                         transparency 0
  200.                     }
  201.                 }
  202.             ]
  203.             geometry MultiMesh {
  204.                 coord DEF Box05-COORD Coordinate {
  205.                     point [
  206.                         -13.53 0 10.94 13.53 0 10.94 -13.53 0 -10.94 13.53 0 -10.94 -13.53 24.76 10.94 13.53 24.76 10.94
  207.                         -13.53 24.76 -10.94 13.53 24.76 -10.94
  208.                     ]
  209.                 }
  210.                 coordIndex [
  211.                     0 2 3 -1 3 1 0 -1 4 5 7 -1 7 6 4 -1 0 1 5 -1 5 4 0 -1 1 3 7 -1 7 5 1 -1 3 2 6 -1 6 7 3 -1
  212.                     2 0 4 -1 4 6 2 -1
  213.                 ]
  214.                 smoothingIndex [
  215.                     2 -1 2 -1 3 -1 3 -1 4 -1 4 -1 5 -1 5 -1 6 -1 6 -1 7 -1 7 -1
  216.                 ]
  217.                 appearanceIndex [
  218.                     1 1 0 0 4 4 3 3 5 5 2 2
  219.                 ]
  220.                 textureMappings [
  221.                 ]
  222.             }
  223.         }
  224.     ]
  225. }
  226. DEF Box06 Transform {
  227.     translation 155.6 0 86.84
  228.     children [
  229.         Shape {
  230.             appearance [
  231.                 MultiAppearance {
  232.                     material Material {
  233.                         diffuseColor 0.1922 0.6078 0.4471
  234.                         specularColor 0.045 0.045 0.045
  235.                         shininess 0.25
  236.                         transparency 0
  237.                     }
  238.                 }
  239.             ]
  240.             geometry MultiMesh {
  241.                 coord DEF Box06-COORD Coordinate {
  242.                     point [
  243.                         -13.53 0 10.94 13.53 0 10.94 -13.53 0 -10.94 13.53 0 -10.94 -13.53 24.76 10.94 13.53 24.76 10.94
  244.                         -13.53 24.76 -10.94 13.53 24.76 -10.94
  245.                     ]
  246.                 }
  247.                 coordIndex [
  248.                     0 2 3 -1 3 1 0 -1 4 5 7 -1 7 6 4 -1 0 1 5 -1 5 4 0 -1 1 3 7 -1 7 5 1 -1 3 2 6 -1 6 7 3 -1
  249.                     2 0 4 -1 4 6 2 -1
  250.                 ]
  251.                 smoothingIndex [
  252.                     2 -1 2 -1 3 -1 3 -1 4 -1 4 -1 5 -1 5 -1 6 -1 6 -1 7 -1 7 -1
  253.                 ]
  254.                 appearanceIndex [
  255.                     1 1 0 0 4 4 3 3 5 5 2 2
  256.                 ]
  257.                 textureMappings [
  258.                 ]
  259.             }
  260.         }
  261.     ]
  262. }
  263. DEF Box07 Transform {
  264.     translation 155.6 0 -2.386
  265.     children [
  266.         Shape {
  267.             appearance [
  268.                 MultiAppearance {
  269.                     material Material {
  270.                         diffuseColor 0.3882 0.5294 0.1922
  271.                         specularColor 0.045 0.045 0.045
  272.                         shininess 0.25
  273.                         transparency 0
  274.                     }
  275.                 }
  276.             ]
  277.             geometry MultiMesh {
  278.                 coord DEF Box07-COORD Coordinate {
  279.                     point [
  280.                         -13.53 0 10.94 13.53 0 10.94 -13.53 0 -10.94 13.53 0 -10.94 -13.53 24.76 10.94 13.53 24.76 10.94
  281.                         -13.53 24.76 -10.94 13.53 24.76 -10.94
  282.                     ]
  283.                 }
  284.                 coordIndex [
  285.                     0 2 3 -1 3 1 0 -1 4 5 7 -1 7 6 4 -1 0 1 5 -1 5 4 0 -1 1 3 7 -1 7 5 1 -1 3 2 6 -1 6 7 3 -1
  286.                     2 0 4 -1 4 6 2 -1
  287.                 ]
  288.                 smoothingIndex [
  289.                     2 -1 2 -1 3 -1 3 -1 4 -1 4 -1 5 -1 5 -1 6 -1 6 -1 7 -1 7 -1
  290.                 ]
  291.                 appearanceIndex [
  292.                     1 1 0 0 4 4 3 3 5 5 2 2
  293.                 ]
  294.                 textureMappings [
  295.                 ]
  296.             }
  297.         }
  298.     ]
  299. }
  300. DEF Box08 Transform {
  301.     translation 155.6 0 -83.91
  302.     children [
  303.         Shape {
  304.             appearance [
  305.                 MultiAppearance {
  306.                     material Material {
  307.                         diffuseColor 0.1922 0.6078 0.4471
  308.                         specularColor 0.045 0.045 0.045
  309.                         shininess 0.25
  310.                         transparency 0
  311.                     }
  312.                 }
  313.             ]
  314.             geometry MultiMesh {
  315.                 coord DEF Box08-COORD Coordinate {
  316.                     point [
  317.                         -13.53 0 10.94 13.53 0 10.94 -13.53 0 -10.94 13.53 0 -10.94 -13.53 24.76 10.94 13.53 24.76 10.94
  318.                         -13.53 24.76 -10.94 13.53 24.76 -10.94
  319.                     ]
  320.                 }
  321.                 coordIndex [
  322.                     0 2 3 -1 3 1 0 -1 4 5 7 -1 7 6 4 -1 0 1 5 -1 5 4 0 -1 1 3 7 -1 7 5 1 -1 3 2 6 -1 6 7 3 -1
  323.                     2 0 4 -1 4 6 2 -1
  324.                 ]
  325.                 smoothingIndex [
  326.                     2 -1 2 -1 3 -1 3 -1 4 -1 4 -1 5 -1 5 -1 6 -1 6 -1 7 -1 7 -1
  327.                 ]
  328.                 appearanceIndex [
  329.                     1 1 0 0 4 4 3 3 5 5 2 2
  330.                 ]
  331.                 textureMappings [
  332.                 ]
  333.             }
  334.         }
  335.     ]
  336. }
  337. DEF Box09 Transform {
  338.     translation 155.6 0 -160.7
  339.     children [
  340.         Shape {
  341.             appearance [
  342.                 MultiAppearance {
  343.                     material Material {
  344.                         diffuseColor 0.3882 0.5294 0.1922
  345.                         specularColor 0.045 0.045 0.045
  346.                         shininess 0.25
  347.                         transparency 0
  348.                     }
  349.                 }
  350.             ]
  351.             geometry MultiMesh {
  352.                 coord DEF Box09-COORD Coordinate {
  353.                     point [
  354.                         -13.53 0 10.94 13.53 0 10.94 -13.53 0 -10.94 13.53 0 -10.94 -13.53 24.76 10.94 13.53 24.76 10.94
  355.                         -13.53 24.76 -10.94 13.53 24.76 -10.94
  356.                     ]
  357.                 }
  358.                 coordIndex [
  359.                     0 2 3 -1 3 1 0 -1 4 5 7 -1 7 6 4 -1 0 1 5 -1 5 4 0 -1 1 3 7 -1 7 5 1 -1 3 2 6 -1 6 7 3 -1
  360.                     2 0 4 -1 4 6 2 -1
  361.                 ]
  362.                 smoothingIndex [
  363.                     2 -1 2 -1 3 -1 3 -1 4 -1 4 -1 5 -1 5 -1 6 -1 6 -1 7 -1 7 -1
  364.                 ]
  365.                 appearanceIndex [
  366.                     1 1 0 0 4 4 3 3 5 5 2 2
  367.                 ]
  368.                 textureMappings [
  369.                 ]
  370.             }
  371.         }
  372.     ]
  373. }
  374. DEF Box10 Transform {
  375.     translation 155.6 0 160.6
  376.     children [
  377.         Shape {
  378.             appearance [
  379.                 MultiAppearance {
  380.                     material Material {
  381.                         diffuseColor 0.3882 0.5294 0.1922
  382.                         specularColor 0.045 0.045 0.045
  383.                         shininess 0.25
  384.                         transparency 0
  385.                     }
  386.                 }
  387.             ]
  388.             geometry MultiMesh {
  389.                 coord DEF Box10-COORD Coordinate {
  390.                     point [
  391.                         -13.53 0 10.94 13.53 0 10.94 -13.53 0 -10.94 13.53 0 -10.94 -13.53 24.76 10.94 13.53 24.76 10.94
  392.                         -13.53 24.76 -10.94 13.53 24.76 -10.94
  393.                     ]
  394.                 }
  395.                 coordIndex [
  396.                     0 2 3 -1 3 1 0 -1 4 5 7 -1 7 6 4 -1 0 1 5 -1 5 4 0 -1 1 3 7 -1 7 5 1 -1 3 2 6 -1 6 7 3 -1
  397.                     2 0 4 -1 4 6 2 -1
  398.                 ]
  399.                 smoothingIndex [
  400.                     2 -1 2 -1 3 -1 3 -1 4 -1 4 -1 5 -1 5 -1 6 -1 6 -1 7 -1 7 -1
  401.                 ]
  402.                 appearanceIndex [
  403.                     1 1 0 0 4 4 3 3 5 5 2 2
  404.                 ]
  405.                 textureMappings [
  406.                 ]
  407.             }
  408.         }
  409.     ]
  410. }
  411. DEF vehicle Transform {
  412.     translation -0.9639 33.83 55.91
  413.     rotation 0 1 0 -0.7767
  414.     children [
  415.         DEF Camera01 Viewpoint{
  416.             position 0 0 3.2
  417.             orientation 0 0 0 0
  418.             fieldOfView 0.5745
  419.             description "Camera01"
  420.         }
  421.     ]
  422. }
  423.